package com.example.mask.maskmobilesshop.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * APP首页管理
 * 
 * @ClassName: Index
 * @author: Xlh
 * @date 2017年1月22日 上午9:56:32
 */
@TableName(value = "t_app_index")
public class Index implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 5463458431048641966L;

	/** 主键ID **/
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 名称 **/
	@TableField(value = "name")
	private String name;

	/** 图片地址 **/
	@TableField(value = "image_url")
	private String imageUrl;

	/** 链接地址 **/
	@TableField(value = "href_url")
	private String hrefUrl;

	/** 类型 1 banner 2 Nav **/
	@TableField(value = "type")
	private Integer type;

	/** 创建时间 **/
	@TableField(value = "create_time")
	private Date createTime;

	/** 创建人 **/
	@TableField(value = "create_user")
	private String createUser;

	/** 修改时间 **/
	@TableField(value = "update_time")
	private Date updateTime;

	/** 修改人 **/
	@TableField(value = "update_user")
	private String updateUser;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getHrefUrl() {
		return hrefUrl;
	}

	public void setHrefUrl(String hrefUrl) {
		this.hrefUrl = hrefUrl;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

}
